package 抽象工厂.PIFU;

//按钮抽象类
public abstract class Button {}

//浅绿色的按钮
class GreenButton extends Button{
    public GreenButton(){
        System.out.println("我是浅绿色的按钮");
    }
}
//浅蓝色的按钮
class BlueButton extends Button{
    public BlueButton(){
        System.out.println("我是浅蓝色的按钮");
    }
}


//增加秋天的浅黄色按钮
class YellowButton extends Button{
    public YellowButton(){
        System.out.println("我是浅黄色的按钮");
    }

}
